<script setup lang="ts">
import router from "@/router";
import request from "@/utils/request";
// 这是一个导出api
const getError = () => request({ url: "/api/getErrorInfo", method: "get" });

getError().then((res: any) => {
  console.log("456", res);
});
</script>

<template>
  <div>
    <el-button type="primary" plain @click="router.push({ path: '/home' })"
      >START</el-button
    >
  </div>
</template>

<style scoped></style>
